package com.xy.annotaion.handler.common.log;

import com.xiuye.util.time.XTime;
import com.xy.annotaion.handler.util.Pointer;

/**
 * @author Dell
 */
public interface LogService {

    /**
     * log everything
     * @param t
     * @param <T>
     */
    default <T> void log(T ...t){

        XTime xTime = new XTime(4);
        xTime.start();
        Pointer.print(this.getClass(),":");
        Pointer.println(t);
        xTime.outByMS();
    }

}
